#dialog-overlay {

	/* set it to fill the whil screen */
	width:100%; 
	height:100%;
	
	/* transparency for different browsers */
	filter:alpha(opacity=50); 
	-moz-opacity:0.5; 
	-khtml-opacity: 0.5; 
	opacity: 0.5; 
	background:#000; 

	/* make sure it appear behind the dialog box but above everything else */
	position:absolute; 
	top:0; left:0; 
	z-index:3000; 

	/* hide it by default */
	display:none;
}


#dialog-box {
	
	/* css3 drop shadow */
	-webkit-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
	-moz-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
	
	/* css3 border radius */
	-moz-border-radius: 5px;
    -webkit-border-radius: 5px;
	
	background:#eee;
	/* styling of the dialog box, i have a fixed dimension for this demo */ 
	width:328px; 
	
	/* make sure it has the highest z-index */
	position:absolute; 
	z-index:5000; 

	/* hide it by default */
	display:none;
}

#dialog-box .dialog-content {
	/* style the content */
	text-align:left;
        padding-left: 5px;
	margin:5px;
	color:#666; 
	font-family:arial;
	font-size:11px; 

}

#dialog-box .titleBar{
        text-align: center;
        width: inherit;
        padding:1px;
}

#dialog-box .title{
        padding-top: 8px;
        float:left;
        width:auto;
        padding-left: 10px;
        
        font-weight: 700px;
        font-family:arial;
        letter-spacing: 2px;
}

#dialog-box a.button {
	/* styles for button */
	margin:5px 5px 0 auto;
	text-align:center;
	background-color: #e33100;
	display: block;
	width:5px;
/*        position:absolute;*/
        top:0px;
	padding: 2px 8px 2px 6px;
	color: #fff;
	text-decoration: none;
	font-weight: bold;
	line-height: 0.8;
        height:16px;
	
	/* css3 implementation :) */
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-box-shadow: 0 1px 3px rgba(0,0,0,0.5);
	-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.5);
	text-shadow: 0 -1px 1px rgba(0,0,0,0.25);
	border-bottom: 1px solid rgba(0,0,0,0.25);
	position: relative;
	cursor: pointer;
        float:right;
	
}

#dialog-box a.button:hover {
	background-color: #c33100;	
}

/* extra styling */
#dialog-box .dialog-content #dialog-message {
	font-weight:700; margin:0;
}

#dialog-box .dialog-content #dialog-message {
	margin:0px 0 0px 0px;
	padding:0; 
        list-style: none;
        overflow:hidden;
}


#dialog-box .dialog-content #dialog-message li{
	display: none;
}
#dialog-box .dialog-content #dialog-message .err{
    background-color: #df815f;

}
